package cn.itcast.order.service;

import cn.itcast.order.model.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * <p>
 * 订单列表 服务类
 * </p>
 *
 * @author xhx
 * @since 2023-04-02
 */
public interface IOrderInfoService extends IService<OrderInfo> {

    int add(OrderInfo orderInfo);

    List<OrderInfo> listOrder();

    List<OrderInfo> findOrderByUserId(Long userId);
}
